from machine import Pin
import time

p9 = Pin(9,Pin.IN)

while True:
    print(p9.value())
    time.sleep(0.1)

